import { ArgumentMetadata, Injectable, PipeTransform } from '@nestjs/common';

@Injectable()
export class CreateUserPipe implements PipeTransform {
  transform(value: any, metadata: ArgumentMetadata) {
    console.log("🚀 ~ CreateUserPipe ~ transform ~ value:", value)
    console.log("🚀 ~ CreateUserPipe ~ transform ~ metadata:", metadata)
    return { username: 'test1111', password: 'adwaaaaaa' };
  }
}
